home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / C / LIB / UNIXLIB37B / !UnixLib37 / src / c / strdup < prev    next >
Text File  |  1996-11-09  |  607b  |  26 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /unixb/home/unixlib/source/unixlib37/src/c/RCS/strdup,v $
  4.  * $Date: 1996/04/19 21:26:42 $
  5.  * $Revision: 1.1 $
  6.  * $State: Rel $
  7.  * $Author: simon $
  8.  *
  9.  * $Log: strdup,v $
  10.  * Revision 1.1  1996/04/19 21:26:42  simon
  11.  * Initial revision
  12.  *
  13.  ***************************************************************************/
  14.  
  15. static const char rcs_id[] = "$Id: strdup,v 1.1 1996/04/19 21:26:42 simon Rel $";
  16.  
  17. #include <string.h>
  18. #include <sys/unix.h>
  19.  
  20. char *
  21. strdup (register const char *s1)
  22.  
  23. {
  24.   return (__permstr (s1));
  25. }
  26.